Show AllShow All

ArabicModes Property

Returns or sets the mode for the Arabic spelling checker. Read/write XlArabicModes.

expression.ArabicModes

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

In this example, Microsoft Excel checks the setting for the spell checking option for Arabic mode and sets it to check for words ending with the letter yaa and words beginning with an alef hamza, if the Arabic mode is not set to this already. Before running this code example, the Arabic modes option must be enabled in the spelling options.

Sub SpellCheck()

    If Application.SpellingOptions.ArabicModes <> xlArabicBothStrict Then
        Application.SpellingOptions.ArabicModes = xlArabicBothStrict
        MsgBox "Spell checking for Arabic mode has been changed to a strict setting."
    Else
        MsgBox "Spell checking for Arabic mode is already in a strict setting."
    End If

End Sub